.class Lcom/waiqin365/lightapp/chexiao/gc;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8

    const v7, 0x7f0806b1

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->f(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->x(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const-string/jumbo v1, "arrive"

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->f(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->j(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const-string/jumbo v3, ""

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->q(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v4

    move v3, v1

    :goto_1
    if-ge v3, v4, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->q(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ItemTextView;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ItemTextView;->c()Z

    move-result v5

    if-eqz v5, :cond_0

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/view/ItemTextView;->b:Z

    if-nez v0, :cond_0

    move v0, v1

    :goto_2
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->x(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const-string/jumbo v1, "leave"

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->f(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;Ljava/lang/String;)Ljava/lang/String;

    goto :goto_0

    :cond_0
    add-int/lit8 v0, v3, 0x1

    move v3, v0

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->j(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->y(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const v3, 0x7f0804fd

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->v(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    invoke-static {v0, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    iget-object v6, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/chexiao/gd;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/chexiao/gd;-><init>(Lcom/waiqin365/lightapp/chexiao/gc;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->z(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    const v1, 0x7f0804fb

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    iget-object v6, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/chexiao/ge;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/chexiao/ge;-><init>(Lcom/waiqin365/lightapp/chexiao/gc;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/gc;->a:Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;->z(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto/16 :goto_0

    :cond_3
    move v0, v2

    goto/16 :goto_2

    :sswitch_data_0
    .sparse-switch
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0d2a -> :sswitch_1
        0x7f0c0d35 -> :sswitch_2
    .end sparse-switch
.end method
